I've spent my life with dh working away often. You do get used to it op but even now I hate it if he is away at weekends ( he sometimes has to catch a flight early on Sunday morning for example or leave on Friday nights for a conference in the States ). I do find that difficult and during my daughter's infancy up to the age of about six years when he was travelling every week without fail, I really found it really hard as we are expats and I was only just starting to develop a network of friends at that stage. It's particularly difficult when you are on your own and DC or pets are unwell.
Nowadays if he goes away for more than a week, I find it hard at the beginning but much, much easier as time goes on, but there again, I quite like my own company and DD is much more independent now.
I've evolved to the point where I positively enjoy it nowadays if he goes away for a few days and quite look forward to having more time to myself. But only if the trip has been planned a while. It sucks when you have to cancel all of your plans because he has to go away urgently.
How old are you op if you don't mind me asking? How long have you been married? And do you have friends and family where you live? If you are going to have DC when your dh will still be travelling, you need to build yourself a support system.
I'm in my mid-fifties and Imam ashamed to say that it it took me until my mid thirties for the penny to finally drop that I am responsible for my own happiness, how I organise my life and that you have to sail your own boat/plough your own furrow in life. I knew it in theory before then obviously, but it took a while for me to proactively live that way ifyswim. No one else will do that for you, even if you are happily married and your dh works from home and never travels! It's a useful lesson to learn. And especially so if you are going to be on your own a lot.
Agree with pp that you need to really enjoy these child-free months while you can, because afterwards it sometimes won't be easy to spontaneously pop to the corner shop, never mind the art gallery or cinema. Good luck 