Assuming you are filing jointly, both yours and your spouses names and social security numbers are on the returns. Any tax forms filed with the IRS with yours or your spouses social security numbers, like a mortgage form 1098, will be matched to your returns.