I don't think the female protagonist was in the military. If you examine the military uniform in the bedroom closet at the start of the game she says, "I'm so proud of him." I think she was just a lawyer. Codsworth gives you a holotape from the husband, and he mentions how patient his wife has been, and it's been great being home the last year with her, like he was deployed before that.
I can find no indication the wife was in the military - except, yeah, the fact she casually jumps into Power Armor and proceeds to kick butt.
My own personal narrative for my female protagonist is that she was a military intelligence agent before going on maternity leave. My build is high Charisma, Sneak, etc. That's my own head canon.