A married person, having sufficient ability to provide for his or her spouse's support or who is able to earn the means of such spouse's support, who knowingly fails or refuses to provide the spouse with necessary food, clothing, shelter or medical attendance, unless by such spouse's misconduct he or she was justified in so doing, is guilty of a class 1 misdemeanor.
A.R.S. § 13-3611