Spawn, PVP areas, Dungeons, and Event Areas all have keep inventory on. Dying in the wild does not.