Medical marijuana and recreational marijuana are both legal in the state of Arizona now, but driving while high can still result in a DUI conviction (even if you have a valid prescription). If medical marijuana causes any level of impairment, you can be arrested and charged with a DUI.