Illustrator - split by color

Anyone know how to first flatten an image in AI CS2 and then seperate each distinct color into separate layers?

When I flatten from the drop down menu from the layers window, it doesn’t really flatten a-la-photoshop style. It puts all elements into one single set.

Example of cutting out in PS (bitmap). Need to know how to do it in AI (vector):