As a rule of thumb, immigration attorneys like to suggest 6 months of work after the permanent residence is approved.
This is to avoid charges that the company or you committed fraud – in other words, to avoid accusations that you never really intended to work for the company or that the company really did not have a full time job for you.