That depends on the type of Yucca plant. Some flower once a year
while other members of the same plant family (Agavaceae) flower
only once in their life time.
The Century Plant (close relative of the Yucca) is given that
name as it flowers once then dies, normally after about 80
years.