https://www.sageadvice.eu/dead-imprisoned/
The only spell that blocks Raise Dead/Resurrection is Imprisonment, right?