This verse talks about the Iddah period. Women are either having menses or don’t have it.
Those who have it, their waiting period is 3 menstruations.
Those who don’t have menses are either too old or too young to have menses. These females’ Iddah is 3 months.