Maintenance in undivided ownership may not be prescribed for a period of more than five years. It may be renewed, in the case provided for in the first paragraph of Article 822, until the youngest of the descendants reaches the age of majority and, in the case provided for in the second paragraph of the same article, until the death of the surviving spouse.