Please confirm my reading of the facts:
The taxes were withheld for tax year 2009.
You have not filed a tax return for 2009.
In 2009 you were a nonresident alien for income tax purposes.
You were present in the United states for less than 183 days in 2009 and more than 183 days in 2010.
All of the stock sales were in 2010.
Thank you for the information.
Thank you for the clarification.
Yes, you will include the taxes withheld in 2010 on your 2010 tax return.
You will use Form 1040 unless you continue to claim closer connection status in 2010 and use Form 1040NR. Both forms have a line for taxes withheld.
We have not yet talked about the type of stock options, so you will need to check if the withholding was included on the W-2 added to the withholding from your paychecks.