No, your cosigner does not need to be a homeowner, however homeowner cosigners are more likely to be accepted.
A suitable cosigner is someone who has a credit score of more than 750 and a strong history of paying their bills on time. Of course they must be able to afford the monthly repayment if for any reason you don't make them.