TurboTax does not do anything to verify whether or not you are a Resident Alien or Non-Resident Alien.
In order to file using TurboTax, if you are not a US Citizen, then you would need to either meet the Substantial Presence Test or the Green card Test. This is up to you to determine if you should file as a resident alien or a non-resident alien. If you are a non-resident alien, then you would need to file a 1040NR which TurboTax does not support, however, Sprintax.com does.