1) When you use a home as you Principal Residence AFTER it was a rental property, you usually can not exclude all of the gain, it will be prorated, so a certain percentage of the sale will be taxable.
2) In addition to #1, you can not exclude the gain from the depreciation that you took.
3) The gain from #1 and #2 will be offset by your capital loss carryovers.
4) Your Passive Loss Carryover is completely separate from all of the above. TurboTax is not set up to report that, but the 'work around' is to say you had a rental property this year and sold it. One of the questions will ask if the rental has a Passive Loss Carryover. Don't enter any expenses or depreciation for this 'rental', as this is ONLY to report the Passive Losses to be used.