Realizing I'm gonna have my baby 3,000 miles away from my family

I miss my family so much. I live across the country from them with my boyfriend.  I go to school here. I'm only 18 and the thought of having my first child so far away from my parents, and being essentially stuck here because of the baby, when my parents are only getting older, makes me panic. I miss my mom so much on a daily basis I can only see her once every few months. And now it's gonna be even less because of the baby and she won't even get to be apart of her grandchilds life really. I'm miserable and want to move home. But I would never take my boyfriends child away from him or my baby away from their dad. 
So idk what to do. How do I deal with being so homesick and missing my parents so much?