Traveling during the third trimester

Hello lovely ladies! I’m currently 25 weeks, and will be traveling back to the U.S. to give birth. (My husband works overseas) - my flight will be around 21 hours long. I want to stay with my husband as much as I can, but when do you guys recommend me to fly back? What week? Any tips or advice, please let me know!