It is possible to be a resident for tax purposes in the United States but to not be a permanent resident of the United States.
A resident for tax purposes who is not a United States citizen is termed a "resident alien for tax purposes."