Force you? No. But you should. Remember - if he has the money, he has to pay.
Under the rules governing the conduct of attorneys in New York it may be necessary to remind you that this answer could be considered attorney advertising.
Perhaps, if you financially qualify the judge will appoint an attorney to help you with issues affecting custody. But, no the judge cannot force you to hire an attorney. As you know your divorce will affect your financially for many years, so the investment will be worth it if you have a good attorney.
The judge can not force you but can pressure you. But is advisable to get one.
The above is a general answer and is not considered legal advice. You should contact an attorney before proceeding to take any legal action, signing any papers or upon service of a summons.
Sign up to receive a 10-part series of useful information and legal advice about the divorce process.