University x boyfriend problem

Hi guys, so me and my boyfriend have a big decision to make and I wanted some opinions. I've been accepted into university and will be moving away in a month, my boyfriend will be staying in our home town. We have been together just over two years and are really in love. However, we are unsure whether we can stay together when I go to uni because we both get jealous and we don't want to ruin our friendship if our relationship ends badly. I don't think either of us would cheat but we are worried the jealousy would tear us apart. We have to choose whether to end our relationship now and stay friends which will hurt us both so much or whether to try and make it work but risk losing both our relationship and our friendship. I can't bare the idea of breaking up but I also can't imagine losing him from my life completely. We are trying to do what is best for the both of us together rather than being selfish or being too cautious of hurting each other. Any opinions would be really appreciated, thanks 😊