Custody question

My ex wants to give me custody I guess of our son who’s 1 because he’s going into the navy... he says it takes 3-6 months

Is that true??