Did you check the Transform palette? In CS5 there is now a checkbox to “Align to pixel grid” (or similar, my Illustrator speaks german). It can be hidden with the context menu of this palette. It seems this setting is stored for each object separately. Naughty, if you turned it on by accident and wonder why your objects snap to an invisible grid.