Yes. The DUI laws in California state that you can be charged with a DUI if you’re driving under the influence of alcohol and/or drugs. Unfortunately, you can get charged with DUI even by driving while under legal medications with legal prescriptions.