This reminds me of an '80s movie called "Jakob's Ladder".
It's about death and time dilation.
I won't spoil it for anyone who hasn't seen it, but I will leave you with a quote from it:
"If you're afraid of dying and you're holding on, you'll see devils tearing your life away. But if you've made your peace, then the devils are really angels, freeing you from the world."