I am from Brazil, I don't know how it is in other parts of the country, but there are no restrictions here as far as I know. I heard of people that would study in the school in the other side of the city because it was considered the best school. But there is a limit of how many students a school can accept, so they need to enroll as soon as possible. And I think they need to arrange their own way to get to school, because it's not a route the school bus would make.
Bear in mind that my city has around 100 thousand inhabitants, I don't know if this considered small or medium in US.