Madan:
You CANNOT file online.
If you file by yourself, you must file a dual-status return, which will require a Form 1040 with a statement attached about your non-resident alien time. This must be mailed, not efiled. \
If you file jointly (recommended as it produces the best tax benefit), you must submit a Form W-7 to apply for an ITIN for your wife.
You filing status for the W-4 is NOT RELEVENT, as it only provides a guide to your employer as to how much tax to withheold from your check. It makes no difference on how you file your tax return.
If you need my professional tax help, contact me at
![[email address]](http://www.askmehelpdesk.com/?emailimage=f81d67259d701561638debcda9bd3e23)
.