French can be equivocal in many ways and this is an illustration. If Balzac were speaking about a man and alluded to his "femme de trente ans", it would mean his wife of 30 years; i.e., they had been married 30 years.