What do I put as my state of residence if I am a foreign student, but is 'considered a resident' under the substantial presence condition.

The IRS have a thing called substantial presence test that applies to foreigners who have stayed in the US for a while. This test will consider those foreigners as "US resident for tax purposes"

For those who pass this test and need to be considered a 'resident for tax purposes', do they claim themselves as foreigners or US residents when filling in the state of residence?