That's a tough question. Honestly I don't think there's a place in between that has good schools. If you move further north to Howard County along Rte 32, you get very good schools and you are closer to Ft Meade, but that moves you away from Arlington. If you move along 270 in Montgomery County, you're closer to 495/Arlington and you get good schools. But the commute to Ft Meade will be bad. I used to do that commute.
I hear bad things about Meade High School and the area of Anne Arundel County near Ft Meade has a lot of gang activity. I'm sure there's a lot of websites to let you know which schools are good,etc. Howard and Montgomery counties have some of the best public schools in the country.
Hope this helps!