If the notice period does not meet legal requirements, then it will not be enforceable. Ensure that you review the applicable period to your lease agreement.