Does a co-borrower have to have good credit?

Yes, your co-borrower should also have a fairly clean credit history if a lender is going to proceed with a home loan.