Investors & landlords

What about the ongoing carryover losses from prior years?  Do those become actionable against ordinary income upon divestiture of the asset or do I need to draw those down in subsequent years?