This is strictly according to the contract you have entered with the Landlord. This may be different in case by case. Are u leaving the country or relocating your house? In any case, it is better to have a face to face discussion and put on paper before finalisation for safe side.