The Talmud provides a blessing to be recited upon waking, thanking God for returning one's soul. This reflects the idea of waking as a kind of daily resurrection, where the soul is restored anew.
כִּי מִתְּעַר אוֹמֵר: ״אֱלֹהַי, נְשָׁמָה שֶׁנָּתַתָּ בִּי טְהוֹרָה. אַתָּה יְצַרְתָּהּ בִּי, אַתָּה נְפַחְתָּהּ בִּי, וְאַתָּה מְשַׁמְּרָהּ בְּקִרְבִּי, וְאַתָּה עָתִיד לִיטְּלָהּ מִמֶּנִּי וּלְהַחֲזִירָהּ בִּי לְעָתִיד לָבֹא. כׇּל זְמַן שֶׁהַנְּשָׁמָה בְּקִרְבִּי מוֹדֶה אֲנִי לְפָנֶיךָ ה׳ אֱלֹהַי וֵאלֹהֵי אֲבוֹתַי, רִבּוֹן כׇּל הָעוֹלָמִים, אֲדוֹן כׇּל הַנְּשָׁמוֹת. בָּרוּךְ אַתָּה ה׳, הַמַּחֲזִיר נְשָׁמוֹת לִפְגָרִים מֵתִים״.
When one awakens, he recites: My God, the soul You have placed within me is pure. You formed it within me, You breathed it into me, and You guard it while it is within me. One day You will take it from me and restore it within me in the time to come. As long as the soul is within me, I thank You, O Lord my God and God of my ancestors, Master of all worlds, Lord of all souls. Blessed are You, O Lord, who restores souls to lifeless bodies.