The distinction is a world wide system of borders we call countries where you need passports to cross. That is distinctly a modern thing. The way countries work now is a distinctly modern thing. Yes, there were always some places that had walls and borders, but never as a world-wide system.