To add some clarity to this answer:
I just ran a test. I inserted this code into my app at startup:
if(getenv("NSZombieEnabled") || getenv("NSAutoreleaseFreedObjectCheckEnabled"))
assert(NO);
I then configured XCode as per the image below.

I launched my app on the device in the debugger. As expected, it crashed with an assertion failure. I then disconnected the debugger and launched the application normally on the device. No crash.
Thus, provided you configure NSZombieEnabled in XCode in the manner below, it looks like you are OK submitting to app store.