Deleting it will throw a code but wont affect how the car runs.
The car might not run correctly by just deleting the code that sets the check engine light. You might also have to change some other stuff in your file as far as turning the tests off and deleting the O2 out of the file.