GC is based on future employment, why would you resign from the sponsor immdly after receiving GC.
I have heard that it would create some issue when you apply for naturalization later on.
6months to 1 year wait period is recommended, though there is no strict guidelines.