Exhaustion is not removed upon death. If you die with exhaustion, you will still have nearly all that exhaustion when you are resurrected.
(Exhaustion is still removed at the normal rate while you are dead)