First you must confirm if you qualify to file as a resident for Tax Purposes. You must pass the Green Card Test or the Substantial Presence Test.
https://www.irs.gov/individuals/international-taxpayers/the-green-card-test-and-the-substantial-pres...
If you do no meet either if these requirements you must file your Tax Return with Form 1040NR or 1040NR-EZ. You can file this return with TurboTax's partner SprinTax. The FAQ below contains the link for this service:
https://ttlc.intuit.com/replies/4028799
When you file as a resident for Tax Purposes, you are required to report your Worldwide Income during the Calendar Year. The IRS does not allow the allocation of income attributed to your presence in the United States. The only instance where a partial year is allowed is when you do not meet the Green Card Test or Substantial Presence Test upon entry or exit into the country.