Yes. A merc hero is treated the same as a faction-specific hero in terms of its ability to return to the fortress. It will recover to full health and be placed beside your barracks, where it will be available to deploy in a future wave at no further Source of CP cost.