I'm on F1 visa (non-resident alien) and my spouse is on H-1B visa (resident alien). We are looking at filing our taxes as Married filing jointly. My social security and medicare taxes were withheld. 1)Can I file for the refund of social security taxes withheld erroneously? Would I be treated as a non-resident for the exemption of FICA taxes? 2)Is the process for refund the same, i.e. filling form 843 ?