Education

Hi I am not sure if i get this right as I am not sure about the substantial compliance meaning in the flow chart.  I thought I am qualified to be treated as a resident as I am here for more than 3years and paid taxes so i pass the substantial presence test. Am I qualified? I just want to avoid the fuss with writing a letter with my spouse and paper filing the tax as we are approaching the deadline. We would like to use Turbotax once we sure of what we need to do. Thank you very much.