What happens when a married couple owes taxes for a previous year but are now divorced? Will the IRS hold refund money from both parties equally?

We still owe for 2023 income taxes from when we were married. Will any refund received individually be applied equally to the outstanding balance or will the former primary spouse have to bare the brunt?