All conditions affecting you are generally removed when you die and are resurrected, right?
Most of them... but what about the roll for lost levels? Can your vitality shake off the impact of negative energy when you are dead?
- either level drain is something "added" to the body - in effect "negative energy poisoning" and it discharges safely when there is no lifeforce.
- or it represents something "missing" - a lifeforce "hole" that a body can recover from or not. - and dead people don't heal. That would not only mean automatic loss of levels, but make people drained to death unressurectable (since you can't be a living creature with no levels)
Or perhaps I am going too philosophical
People drained to death become the monster that slayed them per the SRD, if not they become wights, meaning they do in fact become unressurectable (until they are destroyed as the undead that they became).
the SRD for
resurrection states that the creature is restored to "full hit points, vigor and health" so to me this means that the negative levels are removed with regards to that spell.
Raise Dead however, doesn't have a specification about this, but I would interpret it in as favorable a way as I can for the character and remove the negative level. The only exception being if the negative level were caused by a magical disease or curse...