What if my mercenary dies?

If your mercenary dies, you can revive them after a short time and as long as you (or one of your group members) are not "in combat." You can revive them wherever you happen to be; you don't need to locate or retrieve their corpse.