Section 14-05-25, N.D.C.C., provides that a district court, in rendering the decree of divorce, may assign the homestead or such part thereof as to the court may seem just, to the innocent party, either absolutely or for a limited period, according to the facts in the case.6.