Selling my Home- Do I qualify to avoid capital gains tax?

We purchased in Nov. 2019 and we are planning to sell with a buyer move-in date being after Nov.7th(The date we moved in 2019). This being exactly two years as our primary home, Does this help me avoid the capital gains tax?