The premium remains payable until the contract has been terminated. In most cases, this occurs with the termination of the tenancy agreement and the move-out.
There is no minimum term or special notice period. The tenant can effectively terminate the contract from one day to the next, provided the landlord agrees.