My H spent a lot of time away towards the end of our M and it is hard to reconnect and get that closeness back after each trip away. I guess just play it by ear. If he seems to want some space, give it to him, if he seems to want you to pay him a lot of attention, then do that. I don't really have good advice, as I obviously wasn't able to do it effectively and he gradually drifted away from me.
You cannot teach a man anything; you can only help him discover it in himself. Galileo Galilei