Space during breakup

My boyfriend who is in the military recently broke up with me because we would argue and he lost himself throughout the relationship. He said that he needed space but he still hopes to be together later on, how do I give him space and should I move on or should I wait for him?