I think you can still be good friends even though you are far from each other.
If you are going home in the weekends or the holidays, try to mkae time for each other. If you feel like you haven't spoken or seen your friend in a long time, you can always call or text your friend.
I hope this helped you