Your attorney can leverage evidence to show that you were simply looking for a safe space to leave your car. That said, if you were driving under the influence, you would still face charges for that crime as well as any other traffic laws you violated.