Selling an investment house I currently live in

Hello and thanks for responding-

 

I bought a house 10yrs ago to renovate and sell, but ended up renting it out and had to move back in 3 yrs ago.

I took depreciation for the 5 yrs ($35k) after it was renovated (2yrs) and while renting, then stopped depcreciation when I moved back in.

Since I lived in it for 3yrs, but was an investment first; can I use the IRC 121 for the $250k exclusion?  And do I owe on the depcreciation recapture?