Drinking openly is illegal in most of Mexico and the USA. If the area is run down and the shops are broken I will crack open a beer on the street without a second thought. I wouldn't think of doing it openly in some yuppie neighborhood where some Karen will rat your ass out in 5 minutes.