Damn, MoR. Okay, here's a basic run down:
Lawyers are able to practice by state. A lawyer admitted to practice in one state is unlikely to be able to practice in another. There's ways to get around this, but as a general rule you want a lawyer from the state where the court case is taking place. Said lawyer is also likely to be more familiar with the local rules of procedure and might be familiar with the local judges and how they think.
Given that this is about custody for the daughter, what your friend is looking for is a family lawyer. Family law cases have no jury - they will always be decided by a judge if it gets to trial. Most cases, of course, are settled before they go to trial.
If your friend is worried that he will be sued by his ex, that means he would be the Respondent and his ex would be the Plaintiff. However, if he doesn't know for sure he is going to be sued, then he might not necessarily need to hire a lawyer.