The Gemara in Berachot, on the verse “for the living know that they will die,” says that the righteous in their death are called living. As the Ramchal explains, the soul must first leave the body; the story of Rabbi Elazar son of Rabbi Shimon bar Yochai shows what that life can look like.