Military boyfriend advice for his partner

Br

My partner is deciding to join and always have and I support him and all I want what is best and as well for him to part of our baby’s life but he wants to leave after but I feel after would just affect more. How is it for a mom to be alone no family and in a different state ? How does it work ? Can I not go with him ? I really am trying not to be so down