Ressurection and True Ressurection can bring someone back to life if they were previously an undead but were destroyed, though Ressurection requires you to have some piece of the body. Raise Dead requires the corpse to be mostly whole, and doesn't restore any severed/destroyed parts of it, but the exact wording of Raise Dead, compared to the wording of Ressurection, leads me to believe that Raise Dead cannot ever return life to someone who is or was previously an undead creature. However, the wording of Raise Dead does not specifically state such, it's just that the wording doesn't mention the same bit as Ressurection does, so it's possible Raise Dead could return someone who was once an undead. Now, Reincarnate may be able to return the character to life even while their corpse is an undead creature, since Reincarnate doesn't require any of the original body nor does it mention any caveats against reincarnating the undead. Of course, if the character is an intelligent undead (i.e. they were animated as a wight, vampire, ghoul, or the like) they will likely be unwilling to return to life, and Reincarnate only works if the soul is willing.