A lawyer shall not bring or defend a proceeding, or assert or controvert an issue therein, unless there is a good faith basis in law and fact for doing so that is not frivolous, which may include a good faith and nonfrivolous argument for an extension, modification or reversal of existing law. A lawyer for the defendant in a criminal proceeding, or the respondent in a proceeding that could result in incarceration, may nevertheless so defend the proceeding as to require that every element of the case be established.
Ariz. R. Prof'l. Cond. 3.1