1 year or more but less than 2 years requires 42 days notice period.
In my opinion, the reason for the eviction is that you require the property for yourself. If you give the reason as you intend to sell the property the law requires the sale to be completed within 3 months. As you intend to live there and subsequently will sell it, the selling reason would be invalid.
Once you are living there, there is nothing to prevent you selling it but there is a restriction on letting it again within six months of the eviction.