It has always been thought humans will always need religion. Maybe not. At one time we needed religion to explain the world around us and perhaps we have outgrown that need. Perhaps we can have faith without religion. If we bring our toxic earth religions with us on our starships we will never have the answer to that question. If we do need religion to survive, then I am sure that just as God has spoken to us once He is capable of speaking to us again.
I shudder to think there may a distant planet that has taken to the stars and failed to leave their religions on their planet. There may be a missionary ship headed our way. As indigenous people know from around our globe, there was nothing more fearful that to see the missionary ship appearing on the horizon. When the missionaries arrived from Europe they stripped the natives of their religion and culture and forced a new religion upon them. Perhaps"we will find out what that feels like firsthand.