The Supreme Court says you can file for a divorce if you don’t have money. See Boddie v. Connecticut (case) in this regard. You would have to ask the court clerk to give you a pauper’s affidavit for filing a divorce case without having to pay for the court fee.