Death isn't nirvana. When you are enlightened you do not cease to perceive or feel. When you die you cease to perceive or feel. What is the use of this state? Nirvana on the other hand is complete cessation of all kinds of mental suffering. Nirvana is peaceful living. Death is when you cease to live. The two cannot possibly be compared.