Debtor's prison was an institution on ancient Earth where debtors (persons who owed money to others) were detained until they were able to pay off their debts.
According to Q, had not Quinn rustled a tree and allowed an apple to fall on Isaac Newton's head, he would have died forgotten in a Liverpool debtor's prison, a suspect in the murders of several prostitutes. (VOY: "Death Wish")