Any single. Catholic male without binding secular ( family, et cetera ) obligations can be the Pope. Usually the single man is ordained before becoming pope, though I don’t think we’ve ever had a situation like this.
Leo X, in the 1500’s. Was only a deacon (and cardinal!) prior to his election as pope, and was subsequently ordained a priest, then a bishop, before he could be crowned as pope.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.