I hope that you don't mean that we are morally absolved of any wrong doing if our death is imminent.
For example, financial prudence is generally considered a virtue - however if you only have a few weeks to live you might as well spend every cent you have on everything you ever wanted (again assuming all other financial responsibilites to children, debt, etc are taken care of) because you won't be able to take it with you when you go.