Credit scores are important, but there are many other factors as well such as debt to income ratios and down payment monies. Best to interview a couple of lenders, a mix between private local banks and mortgage brokers, so you get a feel for the type of company and the rates that are offered. Once you decide on the lender, then allow them to pull your credit scores. Each hit on your credit will lower the score, so don't allow all lenders to pull your credit.
After that, your lender should have several programs that best fit your needs, and may suggest the loan only be in your husbands name, if your score is a detrement.
Now is an exciting time to buy as there are some awesome deals on homes. Good luck to you both and feel free to contact me if you need additional information.