Ratbastid and I spent every summer apart while we were in college, and while it's not the same situation, it presented a lot of challenges. Those challenges are surmountable if you're both committed, which it sounds like you both are, so I'm sure everything will work out.
Find a meeting spot somewhere in between, communicate with each other frequently, and try to keep your own life full and fun.
I'll be wishing you the best