Shakespeare chose Illyria for Twelfth Night not because Elizabethans knew the region well—they didn’t. Illyria (roughly the eastern Adriatic coast, modern-day Croatia, Montenegro, Albania) was a vague, semi-mythical periphery in the English imagination.
The setting serves dramatic purposes:
Shakespeare similarly used vague foreign settings—Verona, Messina, Bohemia—to create imaginative space unconstrained by audience familiarity. Illyria is a theatrical “green world,” not a geographical lesson.