No. You can buy a home in your name only and have the mortgage loan (if needed) in your name only. Lenders will verify YOUR employment, income, savings (yours only), credit history and credit score, debt to income ratio and tax returns (joint returns OK).
The HUGE issue is whether your income, savings and credit is sufficient enough to buy a home or do you need your spouse's income, savings and/or credit to buy a home. If you have a good income, have 3.5% for a down payment in cash savings, have a credit score of 620 or higher and have additional cash to pay for closing costs, you will be fine. You can afford to buy on your own. However, if you need your spouse's income, savings or credit to qualify - well, then you cannot buy a home or you will need to buy a different type of home like a mobile home, etc.