You do not need perfect credit to buy a house. It does not matter if you are married or single as long as you can afford the mortgage payment, property taxes, insurance, and any other debts you may have. As far as work history, lenders generally like to see at least 2 years in the same industry with stable income that can be documented via paystubs, W2's, tax returns. You do not necessarily need to be working for the same company for 2 years as long as the income is a base salary and not commissions, bonuses or tip income.
Please feel free to contact me if you would like me to pre-qualify you for a home purchase. (no cost, no obligation)
Executive Mortgage Banker