
623 A.2d 172 (1993)
Meredith HARDING f/k/a Meredith Murray
v.
Richard MURRAY.
Supreme Judicial Court of Maine.
Argued March 15, 1993.
Decided April 13, 1993.
*173 Bruce C. Gerrity (orally), Deborah L. Pope, Preti, Flaherty, Beliveau & Pachios, Portland, for plaintiff.
Thomas Ainsworth (orally), Robert M. Raftice, Jr., Ainsworth & Thelin, South Portland, for defendant.
Before WATHEN, C.J., and ROBERTS, GLASSMAN, COLLINS, RUDMAN and DANA, JJ.
RUDMAN, Justice.
Richard Murray challenges the portions of a Superior Court (Cumberland County, Beaudoin, J.) divorce judgment: (1) assessing liability for alimony, support and attorney fees following Murray's discharge in bankruptcy; (2) determining and allocating responsibility for marital debts; (3) determining and awarding Harding alimony; (4) requiring Murray to maintain life insurance for the benefit of Harding; and (5) determining and awarding responsibility to pay for Harding's attorney fees. Because we *174 find that the Superior Court erred: (1) in ordering Murray to maintain $250,000 worth of life insurance while only $125,000 was for Harding's benefit; and, (2) in setting forth the formula for the calculation of the portion of Murray's pension to which Harding is entitled, we modify the judgment, and as modified, affirm.

Factual and Procedural Background
Meredith (Murray) Harding married Richard Murray on November 19, 1971. Following their marriage in Massachusetts, the Murrays moved to New Gloucester where they resided for approximately 20 years. In the summer of 1990, Murray left New Gloucester to work in Virginia. Harding subsequently commenced an action for divorce on November 6, 1990, alleging irreconcilable marital differences. Murray filed a petition for relief in bankruptcy in the United States Bankruptcy Court for the District of Virginia on June 3, 1991, and received his discharge on October 7, 1991. Harding was aware of the bankruptcy proceeding, but made no attempt to become involved in it. On June 12, 1992, the trial court entered its order granting the parties a divorce. Murray filed this timely appeal.

I
Murray argues that Harding's "contingent" claim for alimony, maintenance and support fell within the definition of a "claim" in 11 U.S.C. § 101(5). Title 11 U.S.C. 101(5) (Pamph.1992) provides that:
(5) "claim" means 
(A) right to payment, whether or not such right is reduced to judgment, liquidated, unliquidated, fixed, contingent, matured, unmatured, disputed, legal, equitable, secured, or unsecured
. . .
Specifically, Murray contends that since Harding's alimony, support and maintenance claims are "claims" as defined by the Bankruptcy Code, Harding had to file a "proof" of claim in the bankruptcy proceeding pursuant to Bankruptcy Rule 3002 and that Harding's failure to file a proof of claim when she had actual knowledge of the bankruptcy proceeding, resulted in the discharge of her "claim." Further, Murray contends that Harding's "contingent" claim did not arise "in connection with" a "separation agreement, divorce decree, or property settlement agreement" as required by 11 U.S.C. § 523(a)(5), and thus, Harding's claim did not qualify for an exception to discharge.
We disagree with Murray's contention that Harding's prayer for alimony in the divorce complaint constituted a "claim" as defined by the Bankruptcy Code and, accordingly, we need not address the other errors in Murray's analysis. As noted, the Bankruptcy Code defines "claim" as a "right to payment." See 11 U.S.C. § 101(5)(A). The Code, however, does not clearly establish when a right to payment arises. See In re Cumbustion Assocs. Inc., 67 B.R. 709, 712 (S.D.N.Y.1986) (citing In re M. Frenville Co., Inc., 744 F.2d 332, 337 (3d Cir.1984), cert. denied, 469 U.S. 1160, 105 S.Ct. 911, 83 L.Ed.2d 925 (1985)).
At the time Murray filed his petition in bankruptcy and received his discharge, Harding had no right to payment and, therefore, no "claim" for bankruptcy purposes. See In re Cunningham, 9 B.R. 70 (Bankr.D.N.M.1981) (divorce petition is not claim as defined by 11 U.S.C. § 101(5)). Harding's right to payment did not arise until a judgment was entered on the divorce decree awarding Harding alimony. See In re Hohenberg, 143 B.R. 480, 483 (Bankr.W.D.Tenn.1992) (underlying obligations of alimony, support and maintenance are issues within the exclusive domain of the state courts); Sandra D. Freeburger and Claude Bowles, What Divorce Court Giveth, Bankruptcy Court Taketh Away, 24 J.Fam.L. 587, 604 (1985-86) (state court decides if a legal obligation to pay alimony should arise). Accordingly, Murray's intervening bankruptcy had no effect on Harding's post-bankruptcy right to alimony and separate maintenance. See 11 U.S.C. § 727(b) ("A discharge under subsection (a) of this section discharges the debtor from all debts that arose before the date of the order for relief under this chapter....") (emphasis added); see also United States v. Sutton, 786 F.2d 1305, 1306-07 *175 (5th Cir.1986) ("unmatured claims for alimony, support and maintenance that are non-dischargeable [see 11 U.S.C. § 523(a)(5)] are not allowable against the assets of the bankruptcy estate [see 11 U.S.C. § 502(b)(5)]. Such obligations, however, are collectible from the debtor personally..."); In re Hohenberg, 143 B.R. at 484 (if award of "support" obligations has not been made by a state court, a decision regarding the dischargability of such obligations is premature).

II
"The [trial court's] findings of fact will not be set aside unless clearly erroneous, and its holding with respect to the award of alimony and division of the marital estate will be affirmed unless, `the court has violated some positive rule of law or has reached a result which is plainly and unmistakably an injustice ...'" Terison v. Terison, 600 A.2d 1123, 1124 (Me.1992) (citing Deditch v. Deditch, 584 A.2d 649, 651 (Me.1990)).

A. Allocation of responsibility for marital debt.
Murray challenges the court's allocation of responsibility for marital debt. The court allocated the following marital debt to Murray: (1) an I.R.S. lien for approximately $42,000 on 5.1 acres of land, valued at approximately $30,000, that was awarded to Murray; (2) a debt to Anne C. Smith, Murray's sister, in the amount of $15,000; (3) any debt or liability related to the personal property awarded to Murray.[1] Murray argues that the court found the marital debt to be $59,000. Murray concedes that the division of debt need not be equal, but he contends that it must be just. Murray attempts to highlight the apparent inequity of this decision by discussing the facts concerning the acquisition of the New Gloucester and Bailey Island properties.[2] Murray concludes by asserting that in light of the allocation of $380,000[3] in "nonmarital" assets to Harding, Murray's recent bankruptcy and, the allocation of 97%[4] of the marital debt to him, the court's judgment is inequitable and should be set aside. See 19 M.R.S.A. § 722-A.
Murray's argument is undercut by three factors. First, 19 M.R.S.A. § 722-A(1)(A) permits the court to consider the contributions of the homemaker spouse. The evidence is clear that Harding made significant contributions to the marriage as a homemaker. Second, 19 M.R.S.A. § 722-A(1)(C) permits the court to consider the relative economic circumstances of each spouse at the time the division of property is to become effective. Harding has a limited earning capacity as a result of her limited education, 30 year absence from the job market and health problems. Murray, on the other hand, has substantial yearly income. Third, contrary to Murray's assertion, Harding is solely responsible for the $98,664.94 mortgage on the New Gloucester property, a marital debt, and Murray's liability on the marital debt assigned to him could be reduced to $12,000 by the sale of the marital property he was awarded.[5]
The court's allocation of marital debt appears to be equitable and there appears to be rational and credible evidence in the *176 record to support the court's decision. Accordingly, we will not disturb the court's decision on appeal. See Terison, 600 A.2d at 1124.

B. Alimony, Life Insurance and Attorney Fees.
After considering the factors set forth in 19 M.R.S.A. § 721, Harding's substantial nonmarital assets, and the allocation of marital debt to Murray, the court ordered Murray to: (1) pay alimony in the amount of $1650 per month; (2) maintain the current life insurance policy on his life in the amount of $250,000 with Harding as the beneficiary of one-half the benefits on Murray's death; and, (3) pay $15,000 for Harding's attorney fees.

1) Alimony.
A purpose of alimony is to provide for the future needs of the divorcing spouse, and to act as a substitute for the loss of support enjoyed during the preceding years. Skelton v. Skelton, 490 A.2d 1204, 1207 (Me.1985). The essential purpose of alimony is the "maintenance and support" of the payee spouse. Id. Considerations before the trial court relevant to the eventual award of alimony include the payee's training, experience, capacity for self-support, health, and earning capacity. Id. at 1206-07.
Murray contends that the court's alimony award, including the requirement to maintain the life insurance policy, is plainly and unmistakably an injustice. Specifically, Murray argues that since he is a consultant hired only for specific jobs of limited duration and his current job status is highly unstable, the total alimony award of $22,000 per year, evaluated in relation to the effect of the entire judgment, is unreasonable and plainly an injustice. See Terison, 600 A.2d at 1124.
Murray fails to acknowledge, however, the facts before the court that militate in favor of the award. See Most v. Most, 477 A.2d 250, 262 (Me.1984) (fact that wife was favored in the distribution of marital property did not amount to abuse of discretion). Harding is 53 years old and except for minor amounts of money earned on a per diem basis in the past few years as a member of the Low-Level Radioactive Waste Authority, she was never employed outside the home during her marriage to Murray. Harding's education consists of a high school degree and a two-year degree in commercial sciences earned in the 1950's. Further, Harding has significant physical disabilities that would preclude her from any sort of regular employment. It was undisputed that Harding has significant monthly expenses.
Based on this record, we disagree with Murray's contention that the court's alimony award rises to the level of a plain and unmistakable injustice. We, therefore, refuse to disturb the trial court's alimony award.

2) Life Insurance.
Murray challenges the court's order requiring him to perpetually maintain life insurance for the benefit of Harding. Murray specifically argues that the judgment clearly contravenes "the well established proposition that alimony must be reasonable in amount and in the method of payment giving regard for the situation, both at present and for the foreseeable future." Klopp v. Klopp, 598 A.2d 462, 464 (Me.1991).
As part of the alimony award, the court ordered that Murray "shall maintain the current life insurance policy on his life in the face amount of $250,000 with Harding listed as the primary beneficiary of one-half of the benefits payable upon [Murray's] death." Thus, Harding has a beneficial interest of $125,000 in the $250,000 policy. To the extent that the court ordered Murray to maintain more than $125,000 coverage for the benefit of Harding, the court's order was unreasonable and erroneous. We accordingly modify that court's order to reflect Murray's obligation to maintain $125,000 worth of life insurance coverage for Harding's benefit. By consent of the parties and to bring the provision into conformity with the provisions for monthly alimony, the order is modified to provide that Murray's responsibility *177 to maintain the coverage in question terminates on Harding's death, remarriage or cohabitation with another male in circumstances similar to marriage.

3) Attorney Fees.
As part of the alimony award, the court ordered Murray to pay Harding's attorney $15,000.
Title 19 M.R.S.A. § 722(3) (1981 & Supp.1992) provides for the award of reasonable attorney fees. See id. In awarding attorney fees, the court is to consider the parties relative capacity to absorb the costs of litigation. See Most v. Most, 477 A.2d 250, 263 (Me.1984). We will not disturb an award of attorney fees unless the Superior Court abused its discretion in setting that amount. See id.
Our review of the record confirms that there were reasonable grounds for the court to conclude that Murray was in a better position than Harding to pay the attorney fees. Further, there is no indication in the record that the court failed to consider the effect of the entire judgment in awarding attorney fees. See Deditch v. Deditch. Id. Thus, the court did not abuse its discretion.

III
Murray argues that the court's judgment concerning the division of his Canal Bank retirement benefit violates an established rule of law and thus, the judgment should be vacated. See Deditch v. Deditch. Id. Specifically, Murray argues that the formula devised by the court to determine the "marital portion" of Murray's Canal Bank pension violates 19 M.R.S.A. § 722-A(1)-(2). Murray is correct.
The court's order provides that:
[Murray] is entitled to receive a certain retirement benefit from Canal Bank as reflected in Plaintiff's exhibit # 33. Part of this benefit was earned prior to the parties' marriage. [Harding] shall be awarded one-half of the marital portion when received by [Murray]. The marital portion shall be computed by multiplying the monthly payment to [Murray] by a fraction, the numerator of which is the number of years the parties were married and the denominator of which is the number of years [Murray] worked for Canal Bank. The parties shall prepare a Qualified Domestic Relations Order after consultation with Canal Bank, and present the order to the court for signature in order to effectuate this provision. The court shall retain continuing jurisdiction to enter such an order. The remaining one-half marital portion is awarded to [Murray], and the remainder is set apart to [Murray] as his nonmarital property.
(emphasis added). As Murray correctly notes, the court's formula is clearly erroneous. Under the court's formula for determining the marital portion of the pension, the entire pension would be considered marital property. Murray worked for Canal Bank for 20 years. Murray was married to Harding for 20 years. Murray was only married to Harding, however, for 8 of the 20 years during which he worked for Canal Bank. Nevertheless, under the court's formula, 20/20 of the pension would be marital property. Clearly, this is not the intended result and if it were the intended result, it would violate 19 M.R.S.A. § 722-A(1)-(2). It is apparent that the court should have established the numerator of its formula as the number of years the parties were married while Murray was employed at Canal Bank. Thus, the fraction would be 8/20, and Harding would be entitled to ½ of 8/20 or 1/5 of the retirement benefits.
Harding acknowledges the error in her brief but requests that the case not be remanded in the interests of judicial economy and so that she can avoid further costly proceedings below. Harding correctly notes that the language of the divorce judgment, other than the formula, clearly sets forth the portion of the pension to which the parties are entitled. Accordingly, Harding requests that the judgment be reformed to reflect the fact that she is entitled to 1/5 of Murray's pension income. We agree with Harding that such action is warranted.
*178 The entry is:
Judgment modified in accordance with the opinion herein to require Murray to: (1) maintain life insurance coverage for the benefit of Harding in the amount of $125,000 until Harding's death, remarriage or cohabitation with another male in circumstances similar to marriage; and, (2) pay Harding 1/5 of Murray's Canal Bank pension benefits; and as modified, the judgment is affirmed. Remanded to the Superior Court for determination of the amount of attorney fees to be awarded to Meredith Harding on appeal.
All concurring.
NOTES
[1]  Review of the divorce judgment reveals that by agreement the parties had divided personal property, some marital, some nonmarital, between themselves. This property is not at issue in this appeal.
[2]  The court specifically set aside two parcels, known respectively as the New Gloucester and Bailey Island properties, as Harding's nonmarital property. Harding testified that Murray deeded his interest in the New Gloucester home to her in 1973 as a gift to ensure her security. The Bailey Island property was "bought for" Harding and was paid for by taking a second mortgage on the New Gloucester home and $14,000 from Harding's nonmarital assets. The record also reflects that Murray repeatedly disclaimed any interest in the New Gloucester and Bailey Island properties.
[3]  This figure represents the equity value of the nonmarital assets set aside to Harding.
[4]  Murray's claim that the court assigned 97% of the marital debt to him disregards the fact that Harding is solely responsible for the $98,664.94 mortgage on the New Gloucester property, a marital debt.
[5]  The $15,000 debt to Anne E. Smith was discharged in bankruptcy.
