Yes. Heroes that return to their fortress immediately recover to full health, but otherwise maintain their upgrades, equipment, etc. They are placed beside your barracks, and if selected to deploy again in the future, will deploy in the same state.