O episódio em que você está pensando é de Star Trek: Voyager e é chamado de Emanations .
Trecho do Ato 1:
Chakotay reports that they have discovered eighteen bodies on the asteroid – eleven male, seven female. The bodies are in various stages of decomposition, some have been there for years, others just a few days.
Trecho do Ato 2:
Kim learns that when the species, called the Vhnori, are near death, they are placed in a coffin-like device called a cenotaph, which euthanizes the occupant, then transports them to the "Next Emanation," their culture's concept of Heaven or nirvana.
Trecho do Ato 4:
Kim's presence disturbs the plans of Hatil Garan, whose family has convinced him that it is time to be sent to the Next Emanation. Expressing his doubts to his wife, Loria, she angrily tells Kim to leave her husband alone.
Trecho do ato 5:
Janeway tells him that may not be the whole story, as the energy that was detected by Voyager had slight neural energy emissions from the newly appearing bodies, adding to a complex and dynamic energy field that inundated the asteroid field and surrounded the planet – a possible indication of the Next Emanation.