No. The surviving spouse who co-owns the deceased's property can request the preferential allocation of the main residence if it was already their home at the time of death (Article 831-2, 1° Civil Code).
If requested, this allocation is automatic and binding on the other co-owners (Article 831-3 Civil Code).