I am not trying to diagnose you, so I'll just say that from my experience as someone suffering from depression, I would think of "the idea of dying most night" during a depression episode, but not when it was over, and definitely not every night.
Until I started treatment for my depression I was very puzzled by the idea that some people might NOT think of death every day.
Again, not trying to suggest you necessary suffer from depression, but if you have any other depression-related symptoms, it might be wise to get it checked.