Changed from F1 to H1 in 2017, Am I a resident? can I use Turbo tax to file my taxes this year ?

My H1b visa started from Oct 1 2017, I stayed in 2018 for 330 days.