No, you are no longer eligible to exclude any of the gain from the sale of the house because you did not live in it for two years out of the five years preceding the sale. (If it's been rented for a little over three years, the remainder of the 5-year period preceding the sale is less than two years.)