Yes, you must indicate you used part of your home for business. That portion of your home will have a taxable gain portion because you had depreciation expenses. The $500,000 will not rule that out.
When asked about the home office you should say 'Yes' and be prepared with the depreciation total for all years you used it. TurboTax will calculate your exclusion and taxable gain.