Retirement tax questions

I started my appointment in July 2014 (J1). I physically left the US in July 2016. Tax-treaty for 2 years until July 2016. I meet the Substantial presence test for tax residency, but left the US... so not a resident. W2 was provided due to my teleworker status.
Do I need to file two separate returns? Turbotax does not allow for that. Sprintax redirects me to Turbotax