<human>: EDIT: Thank you all for your kind replies! Your comments are very helpful, and made me feel better about what may happen in the future. I understand that communication is key, and I will definitely follow this advice before leaving town. I'm hoping it will work! 

I have been seeing this wonderful guy for almost a year. We met when we started graduate school three years ago. Let me just say, this is by far the best relationship I have been in, and we both see us being together for a long time. He is my best friend, and I talk to him about everything. He is loving, supportive, caring, understanding and appreciative. I do my best to be an equally good partner.  

This being said, lately I have been a little worried about our future together. We are both planning to pursue postdoctoral positions after we graduate. I am in a situation where I could (and really should) graduate within a year or so. He still has two to three years left until he finishes his thesis. I have been at this university for a while. For me, the best move professionally is to do my postdoc in a different state. It could be quite far, depending on which lab decides to hire me. If I move in a year, this would mean that we would have to be apart for one year in a best-case scenario, or two years and more if he doesn't get a postdoc near my future postdoc lab. 

My question is, have you had experience with long distance relationships that have lasted this long? Did they work out? What did you do to make them work? I am definitely willing to try it, and so does he. I love him very much, and I would really want it to work. On the other hand, I try to stay realistic and I am afraid that it might just be too long, but neither of us have experience in long distance relationships.

All the advice is much appreciated!

Condense the text into a few key points
<bot>: Me and boyfriend are both graduate students. I might graduate and move away 1-2 years before he does. Is there a chance for a long distance relationships to work out?