If you have the time then yes you should get your ham out of the fridge for an hour prior to cooking. Cooking it in the Instant Pot still ensures juicy results either way.