I thought there was a % chance of loosing spells when dead/raised. But I could be thinking of something else.
edit: Ok, I checked the SRD, raise dead gives a 50% chance of loosing each spell, in addition to any lost due to level loss. Resurrect and I'm guessing true resurrect have no memorized...