Remembrance of the self is key.
How lucid you are when you are asleep is a direct reflection of how aware you will be when you are dead.
If you have dreamless sleep you are basically spiritual asleep and will be sorted like objects to wherever they want.
If you have standard dreams they take the form of trusted dead relatives or your chosen religious figure and you will naturally go along with whatever narrative they tell you, just like you believe whatever story you dream up is real.
Only through lucidity and self awareness a person may have a chance.