Your phone isn't actually "dead" when it shows out of battery though, since the display can still power on for another hour+. There's a reserve before you hit the true 0%.
what?
But if you used up the battery and not charge for a long time (1 months or so). This can happen because batteries discharge themselves slightly even not being used.