I have exactly the same problem, my first choice Uni is so far away I'll probably only be home for holidays and possibly the rare long weekend, but my second choice is only about half an hour, forty minutes drive. I almost feel demotivated so I don't get into my firm choice, as I want to be closer to home where I won't have to leave a lot of friends (on gap year) and a social life I have only just started to really enjoy.
All the same, you will meet loads of great new people at University, and time spent away will only make seeing your old friends when you come back so much more enjoyable.
At least if you get all the paperwork and revision done to get into the Universities, you have that option open. I'd go for it if you can, in at the deep end etc, but if you really feel you don't want to move away at least in the end you have the choice of which you want to do.