I’m thinking in the U.S. and Canada. For example, if you’re on vacation, you’ve checked out of your hotel room and have several hours until your flight, and you have some cans of beer left over. I know you could sneakily drink them in a park or something, but I’m just curious if there’s any way to do it that’s legal.
Like many laws in the US, it’s a hodgepodge of local, county and state regulations. As someone else here mentioned you can get one small city where you can drink legally in a park and in the neighboring town you technically can’t even drink on your porch. Problem with the latter situation is that not only is it ridiculous, but enforcement is likely to be unevenly centered on people of lower income or whoever the police happen to not like.
Cities such as Denver allow drinking in parks, but make the law difficult to follow - you have to be more than 50 feet from “any roadway, playground, recreation center, or swimming pool”. So I guess in the center of large parks only.