You are not obliged to keep the property in your possession for a lifetime. However, when you extend your residence permit, you will have to demonstrate owning property in Portugal. If you hold the property in your possession for five years, you can initiate the process of acquiring full citizenship of Portugal. If you succeed and become a citizen of Portugal, you will be able to sell your property in the country without any consequences.