It wouldn't be exactly 10 months but you will have to go through:
6wks of BMT
8 wks of SW prep
4 wks A&S
4 wks Predive
6 wks of Dive school
Then you are able to PCS to Kirtland NM where your family can move in with you. For more info about family in the pipeline/operational see my youtube video here.