No, it does not matter----but once you begin filing joint returns with a spouse, stay consistent every year. Do not switch around and decide to have the other spouse first next time. If you do that it will confuse the IRS and cause errors for you when you transfer the prior year tax file to the new one.