This is not enforceable by any party. Since the contract was oral, there is no hard proof that either party actually intended to stay a part of the agreement. As such, there is no enforcement power that can be undertaken to make sure both parties stay through the entire two years.