The phone rings in every town you serve.
Should franchises and multi-location businesses have separate URLs for local SEO?
One site, with a separate page (its own URL) for every location: yoursite.com/locations/oakville/. Not a separate website per location, which splits your authority twenty ways and gives you twenty sites to maintain; and not one "Locations" page listing them all, which gives Google nothing to rank for any single town. The page per location is the middle that works.
Why not a separate website per location
Every link, review mention and year of history your brand earns accrues to one domain. Split into twenty domains and each one starts from nothing, competes with its siblings, and needs its own hosting, updates and security. Franchisees often want their own site for control; give them control of their page instead.
Why not one page listing them all
Search ranks places. A list of twenty addresses on one page is one page about twenty places, which ranks for none of them. Google needs a page about Oakville to show for a search from Oakville.
What the page per location needs
Its own address, phone, hours, service area with towns named, photos of that branch, the people there, reviews from that area, and structured data marking it as its own LocalBusiness under the parent brand. Not the head-office page with the town swapped; Google notices copies and keeps one. The full method: local SEO for multiple locations.
The franchise exception
If franchisees are legally separate businesses with their own names, they may need their own Google Business Profiles under those names, but the pages can still live on the brand’s domain. The URL structure follows the brand; the profile follows the legal entity.
Subdomains for locations: a bad idea
oakville.yoursite.com is treated by Google as somewhere between a folder and a separate site, with most of the disadvantages of the latter. Use folders.