How do I make an item or spell that revives dead heroes?
First of all, make a healing item. see How do I make a healing item? for info on how to do that. The only thing you need to do differently to make the healing item capable of reviving dead heroes is to change its Target Class to Ally (including dead)