There's really no restrictions of residence for FLR or ILR applications but there is for naturalisation on a countback basis of 3 years.

She should not have not spent more than 270 days outside the United Kingdom during the total three-year period before naturalisation application and have not spent more than 90 days outside the United Kingdom in the last 12 months of the three year residency period.

So she'll be fine