Open 'Object Editor' and find the field 'Combat - Death Type'
Then simply choose either:
Can't Raise - Does not decay
The units' corpse won't dissapear, but it cannot be ressurected by abilities
Can Raise - Does not decay
Same as above, but this time the unit can be ressurected