A Mac is still actually on when sleeping, it's kind of like a reduced power mode until you need it again. By unplugging the power you'd actually shut it off completely, I don't think doing this regularly would be too healthy for your iMac to be honest.