Does it matter where you go to medical school?
I disagree. There are very little differences between medical schools so long as you do well on your STEP I through STEP III exams. Basically what really matters is how you rank compared to the national average. 
I have interviewed residency candidates from around the country-their alma mater means very little to me. Their STEP scores and extracurricular activities matter as well as their personal statements. Don't worry about medical school ranking-just worry about Step exam scores-that will really help you get into any residency program you want.