The show is set in Phoenix, AZ, which is in Maricopa County. In at least a couple of episodes, when there is a scene in the courtroom, the court is called to order in "Mariposa County." Also, whenever they show the county seal in court or a state government building, it also reads "Mariposa County."
Throughout the show, Allison calls Devalos 'districK attorney', not 'districT attorney'.