I'm not a teacher, but in my opinion if you use "would be", then the period of two years is closing now; if you use "would have been", then the period of two years ended in last month.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.