I separate the desired groups for at least two weeks before saving any eggs, and three weeks would be better.
When I had only two groups, one bantam and one standard, they separated themselves, as the bantams were raised by a bantam broody, and the standards by a big broody or incubator...