Drug tests, commonly referred to as UAs, may be required at any point in time while your case is pending. However, being able to provide a clean UA can help with getting your case dismissed or working out a better plea deal with prosecutors. It is always best to be prepared to provide a clean urine sample for a drug test while your case is pending.