From His birth the Lord had a human from the mother, and as He by successive steps put it off, it follows that while He was in the world He had two states, the one called the state of humiliation or emptying out, and the other, the state of glorification, or unition with the Divine called the Father. He was in the state of humiliation at the time and in the degree that He was in the human from the mother; and in that of glorification at the time and in the degree that He was in the Human from the Father. In the state of humiliation He prayed to the Father as to one who was other than Himself; but in the state of glorification He spoke with the Father as with Himself. In this latter state He said that the Father was in Him and He in the Father, and that the Father and He were one. But in the state of humiliation He underwent temptations, and suffered the cross, and prayed to the Father not to forsake Him. For the Divine could not be tempted, much less could it suffer the cross. From what has been said it is now evident that by means of temptations and continual victories in them, and by the passion of the cross which was the last of the temptations, the Lord completely conquered the hells, and fully glorified His Human (Emanuel Swedenborg).
These states only apply to the Lord because he is divine and infinite. The corresponding states that we as humans go through are called temptation and regeneration.