The box should be recessed no more than 1/4". Any deeper and a box extension would be required. Unless the setback was less than 1/8" I would use an extension to avoid the spongy mounting when plugging something in.
Answers based on the National Electrical Code. Local amendments may apply. Check with your local building officials.
The Following User Says Thank You to Jim Port For This Useful Post: