Hey there,
I'd echo the comments regarding staying in touch with him, making sure he knows you're there.
Thoughts of quitting work when someone is going through a divorce apparently are quite common. Maybe you could suggest to him, that there are online support forums for divorcees, and also specific counsellors that can help.
If you find that he really is taking it very, very badly, it would be in his best interests to go and see a doctor and perhaps get some mild antidepressants just to act as a crutch until he's able to stand on his own two feet again and able to cope with things again.
Must be a particularly difficult situation for you, and a horrible way for him to have found out. From your post it doesn't sound like you've got any brothers or sisters? Main thing I would emphasise to you is, that although your Dad may be feeling incredibly low at the moment, I feel fairly certain that he would not want to detriment your career or time at University if you were to go home and miss Uni for a while. By all means go home at the weekends, whenever you can, but it may make him feel worse if you were to drop out or anything like that. so, don't feel guilty about being at uni.
best of luck, I hope he's feeling better soon.
Take care Cx