Thats what I did I just hate to see a guy with a family get laid off when theres another guy who plans on quitting in a week. Hopefully he comes back hears about dude getting laid off and decides to turn his notice in. That way dude can support his family
If the company lays of one guy and another guy quits then the first should get a call back if they have work for him.
If you want to do anything make sure the guy getting laid off leaves on good terms and lets the company know that he will be available if his job opens back up in the near future. Let him know that there is hope of a job opening in the near future ( not a sure thing ).