That gap isn't how these are supposed to sit. A range should end up pretty close to the wall when everything behind it is where the manufacturer wants it, so a one to two inch standoff like you're describing usually means the outlet placement doesn't match what the installation instructions call for. The manual for your range should have a diagram showing the zones where the receptacle is supposed to sit so the plug and cord can tuck into the recessed area at the back. If whoever wired your kitchen put the box somewhere outside those zones, the cord has nowhere to go and it holds the whole unit off the wall.
The fix is to pull the range out and take a look behind it. Check whether the cord is bunched up or kinked back there, and check whether the opening in the rear of the range actually lines up with the electrical box. If the box is off to one side or too high or too low, the plug can't seat into that recess and you get exactly the kind of standoff you're seeing. Sometimes it just takes pulling it back out, repositioning the cord, and sliding it home. Other times the outlet simply isn't where the specs want it, and no amount of shoving will get it flush. One more thing to check while it's pulled out: see if there's an anti-tip bracket back there. It's supposed to be mounted to the floor and baseboard with the range's rear leg dropping into it. If you paid for installation and the installer didn't put one in or say anything about it, that's worth a call to the store. Your instinct about the cord is a good one, but don't guess from the front. Get it out and look, because the answer will be obvious the second you do.