A child under the age of 18 who is legally free for adoption and present in the state at the time the petition to adopt is filed may be adopted. “Legally free” means that the parents of the child have signed consents to the adoption, or pursuant to Arizona law, their consent is unnecessary, or their parental rights have been terminated by court order, or they are deceased.