Flying with a 1 month old

Is it okay to fly with a 1 month old? My husband is leaving for work for a month and I will be alone with baby, he says he will feel better if I fly home to stay with my mom while he is gone. I'm just wondering if it's safe for him to fly so young