Our perceptions of the afterlife, usually come from religious mythology or paranormal psychics.
Many investigators and new age prophets have investigated this subject in depth.
Some people are more sensitive to paranormal activity and visions than others. I don't belittle anyone's research in this area. For human beings, life is full of frightening mysteries.
Personally, I believe that we are looked after by a powerful ancient civilization (i.e. "The Kingdom of God") where spiritual activity outside of bodies was and still is the norm.
The tracking, rescue and restoration of lost souls on Earth is standard practise for this organization.
A cloaked space ship sends out light probes which contain all kinds of pleasant sensations and perceptions for a spirit. This light is also a powerful tractor beam which draws the being into the ship.
There are other malevolent aliens around this sector like the Grays and Marcabs who abduct humans for their own perverse experiments.
This is part of my cosmic viewpoint on this subject that goes beyond "The Star Trek Universe" and religious mythology.