In my neck of the woods (and I’m sure elsewhere), public libraries are used for that purpose. Mothers drop their kids off, then go wandering around town until closing time.
I would think libraries would be a sketchy proposition considering the homeless use ‘em as hangouts.