Can I partially qualify for Section 121 Principal Residence Exclusion? I lived in the condo for 1.5 years, then rented out for 1 year after moving out of state for a job.

I was living in the property as primary residence for 1.5 years, then had to move out of the state for employment. The condo has been rented out for a year. The property is in New Jersey.  Do I qualify for partial capital gain exemption in this case if I sell the condo?