The last time Sarah is with Abraham is when she sent away Ishmael.It is said this grieved Abraham so much
Genesis 21:10-11 ESV
So she said to Abraham, “Cast out this slave woman with her son, for the son of this slave woman shall not be heir with my son Isaac.” And the thing was very displeasing to Abraham on account of his son.
The next chapter deals only with Isaac and Abraham when he offered Isaac at Mount Moriah and there is no mention of Sarah
Genesis 22:1-2 ESV
After these things God tested Abraham and said to him, “Abraham!” And he said, “Here am I.” He said, “Take your son, your only son Isaac, whom you love, and go to the land of Moriah, and offer him there as a burnt offering on one of the mountains of which I shall tell you.”
It is only in chapter 23 that she is mentioned to have died at Kiriath Arba in Hebron
Genesis 23:2 ESV
Sarah died at Kiriath-arba (that is, Hebron) in the land of Canaan, and Abraham went in to mourn for Sarah and to weep for her.
Prior to the death of Sarah Abraham is said to have been living in Beer-sheba
Genesis 21:33-34 ESV
Abraham planted a tamarisk tree in Beersheba and called there on the name of the LORD, the Everlasting God. And Abraham sojourned many days in the land of the Philistines.
There is a curious statement which says Abraham went ot mourn his dead in Hebron
Genesis 23:2 ESV
And Sarah died at Kiriath-arba (that is, Hebron) in the land of Canaan, and Abraham went in to mourn for Sarah and to weep for her.
Did Abraham live with Sarah when she died?