There are some mods out there which make the player essential? I think as a feature of one of those mods if you are forced to the bleed-out state too frequently you die, and become a ghost.
*EDIT: This is the mod I was thinking of: http://skyrim.nexusmods.com/mods/16311