; and (II) to the extent allowed by law, is deposited in such a fund or account not later than 60 days after the distribution of such amount. (6) (A) In joint cases filed under section 302 of this title and individual cases filed under section 301 or 303 of this title by or against 2 debtors who are married to each other, and whose estates are ordered to be jointly administered under the Federal Rules of Bankruptcy Procedure, the debtors shall be deemed to elect exempt property under paragraph (2) unless they both affirmatively elect to exempt property under paragraph (3). (B) In a joint case, the residence exemptions in subparagraphs (2)(A)(i) and (3)(A)(i) shall be allocated one-half each to each debtor. (C) The nonresidence exemptions in paragraphs (2)(A)(iii) and (3)(A)(iii) shall apply separately with respect to each debtor in a joint case. (c) Unless the case is dismissed, property exempted under this section is not liable during or after the case for any debt of the debtor that arose, or that is determined under section 502 of this title as if such debt had arisen, before the commencement of the case, except— (1) a debt of a kind specified in paragraph (5) of section 523(a) (in which case, notwithstanding any provision of applicable nonbankruptcy law to the contrary, such property shall be liable for a debt of a kind specified in such paragraph); or (2) a debt secured by a lien that is— (A) not avoided under subsection (e) or (g) of this section or under section 544, 545, 547, 548, or 549 of this title