You need to look up the local laws. It is different everywhere.
Here in Texas, you can all drink, including driver while driving. They only harrass you if you act like a fool, then they can get you for DUI. But if you are taking it easy and enjoying a cold one on a hot day, the law says that is fine.
You should be able to find your laws through your fish and game department.