Depends on if both parties are borrowers. In some states, spouses who are not borrowers only have to sign a few docs, deed and Compliance - depends on the lender.
In most cases, signer names are printed where they are to sign. Not in every case. Some lenders include documents that say “Borrower Signature”. A non-borrowing spouse would not sign those.