In Michigan, any home where a married couple resided jointly is considered to be a "marital home" and both are entitled to live there unless the Court orders that one party is entitled to exclusive occupancy of the home. In Michigan, you could file a motion for exclusive occupancy and explain all of the facts in favor of your position to the Judge. The judges are generally reluctant to grant these motions, especially where the party (in this case the Mom) is living in the home with the children, since they do not like to disrupt the childrens' lives any more than is necessary. My experience is that such motions are successful only where there is fairly significant domestic violence or an otherwise terribly tense environnment for the children, and usually only when the person being excluded from the home has somewhere else to live.
Please understand that different states or even different jurisdictions within states may have different laws, procedures and practices. This advice is applicable in Michigan, but other jurisdictions may differ.
So long as the mother/wife has not committed violence against the husband or kids then he can't kick her out of the house--that is the law in CA. Your friend must file his petition for divorce and file quickly. I would think he believes he can't afford an attorney right now. Attorneys are starting to accept payment plans.
Try to get some friends together to help pay for a down payment to retain an attorney. He should see a Certified Family Law Specialist as this kind of attorney is affordable and experienced. They work much more efficiently than other attorneys. For example, if you need surgery on your leg or stomach, you wouldn't be so foolish to hire a general practitioner, you'd hire a surgeon. In law it is the same way. You have Criminal Defense lawyers, Civil Litigation lawyers and Tax Attorneys. So you have expert attorneys in family law who are Certified by the California State Bar, Board of Legal Specilization that make sure these attorneys have the expertise in Family Law.
This answer is not intended to give you any legal advice as the information provided by you is insufficient to provide any legal advice. You must seek the services of a qualified and experienced attorney before acting on any advice from this website or any other place.