Can someone still work legally if their green card expires soon?

Yes. But he/she better get a renewal as soon as possible. The employer will ussualy ask you to show them your new green card a few weeks or couple months before your old green card expires.