Most diversion programs take place before a plea, and in many cases before a charge is even filed. Deferrals occur after a charge is filed, and often after a plea is taken but before a guilty plea is entered. You are confusing diversion programs, which have the potential to allow you to avoid being even charged and allow you to avoid entering a guilty plea, with a diversion program that occurs after you enter a plea. Also, the question is about Arizona, not Texas.