Investors & landlords

If we rent it for two years, live in it for two years then rent it for three years then sell, the Full $550k is excludable and tax is due on all depreciation?