I don't know how clever this is, but it's probably well-known: when playing against the AI, to prevent it from resurrecting a defeated unit, place a unit on the corpse, and the corpse will disappear from the battlefield – as a result, there's nothing to resurrect.