Well, the school training would be TDY (temporary duty) and family wouldn't be allowed to come along. Once graduated (if graduated), there's no telling where the "recruiter" would be sent to perform duties, nor any pre-determined duration of that recruiting assignment, often not making it worthwhile to pack up and move the whole family ...
But that is kind of what the military sign up for, is it not?
Presumably preferable to being sent to war?