How far apart is 'very far apart'?
It doesn't have to be 6 weeks away from each other, though. Why not have some time together before going home or return early, if possible? Meet in the middle, both geographically and time-wise? Keep in touch with phone and video call? And if the relationship doesn't survive those 6 weeks, it wasn't strong enough in the first place.
From someone who had a year apart from her boyfriend due to work and is still with him.