TTC after taking The Pill

I took YAZ and Seasonique for 4 years and stopped 2 years ago. My boyfriend and I live together and have been having unprotected sex ever since I got off the pill. Is it possible that me not getting pregnant for 2 years could have something to do with taking the pill for so long?