I don't believe in any kind of afterlife or soul. In fact, I believe the perception of self is a chimera created by the default mode network. Suppression of activity in that network, such as in some meditation practices, or with some psychoactive substance dosing, is correlated with reports of feeling 'at one' with the cosmos, which of course makes people feel like the death of their corporeal body is a fairly meaningless event. Which in the big picture, is correct.