Yes it will definitely affect the loan. You will be required to sign a final loan application at closing and you must either disclose the change in financial condition or be at risk for signing the loan documents after your situation has changed which would be considered fraud. Failure to disclose accurate information will result in possible legal actions by the lender.
The lender may take into account possible alternatives if the employer has given a date to return to work. Do not sign loan documents which do not have accurate information. With the market as it is currently, fraud investigations are at an all time high. Do the right thing.
I’m very sorry to hear that your husband lost his job. It’s never fun and to have it happen while you are in the process of buying a house probably makes it all the more difficult.
As far as the answer to your question is concerned — and I’m guessing here that you originally qualified for the mortgage on the basis of your income and his — the answer is: yes, assuming you disclose this, the fact that your husband lost his job will definitely affect your loan going through…. and please, as much as you can’t stand the idea of not getting the house, don’t even consider the idea of not disclosing your husband’s job loss to your lender. You see, when you sign the mortgage papers at closing, you will be asked to certify that there has been no material change in the information submitted on your original application. So, if you fail to disclose, you will have committed mortgage fraud.
On top of all that, you probably want to ask yourself how you would be able to pay the mortgage and deal with all of the expenses attendant to a new home with one less income than you are used to.
It might be a good idea to talk to your real estate agent and to a lawyer to find out about getting your deposit back.