The Hall of Commanders gives your Commanders an XP bonus. If your Commanders die and you choose to hire a new Commander, the Hall of Commanders will save a certain amount of XP and put it towards your new Commander. A higher-level Hall of Commanders will provide a bigger XP bonus and retain more XP from a fallen Commander.