I just had the exact same situation and my NOSC screwed it up, but here's how to make sure it works out correctly.
Your detach date from the Reserves needs to be the day before you begin travel to OCS if driving (which I recommend). If not, it should be the day before your OCS class starts...