I'm a US citizen, due to business needs in 2017, I stayed more than 6 months in foreign countries. My understanding is, if you stayed in US for less than 180 days, you are eligible to get complete tax refund. Does turbotax offer this option to fill out the info?
Actually, there is a little more to it than that. And TurboTax can help you figure this out.
Your time away from the US needs to be consecutive in order to be eligible to exclude wages from US income taxes. If you were physically present in a foreign country for 330 full days during a period of 12 consecutive months, then you may qualify for the Foreign Earned Income Exclusion. You can choose the 12-month period that maximizes the exclusion in the years you were not in the US. Also, your tax home must be in a foreign country.