That question can never
be answered. Nobody returns from the dead, and even if someone did, how do you prove that it's the same consciousness?
Same goes for beaming. Someone gets beamed from A to B. How do you determine if his consciousness died and a new one was created?