Long distant sperm donor

Say your in involved in a relationship with a man thats in the military . Though he said he'll be back in two years your biological clock is ticking and yall wanted to have a baby asap but he's over in another country.Is it even possible for a guy in the military thats not in the usa to donate his sperm to his g/f or wife?