The consensus of scripture is that Jesus is the Son of God and the son of man. That is, Jesus is God manifested in the flesh. The fullness of the Godhead dwelt in Him bodily. So when Jesus died in the flesh God also died.
In the Revelation of Jesus Christ in chapter 1 verse 8 John hears,
“I am the Alpha and the Omega, the Beginning and the End,” says the Lord, “who is and who was and who is to come, the Almighty.”
John goes on to explain,
I was in the Spirit on the Lord’s Day, and I heard behind me a loud voice, as of a trumpet, saying, “I am the Alpha and the Omega, the First and the Last,” and, “What you see, write in a book and send it to the seven churches which are in Asia: to Ephesus, to Smyrna, to Pergamos, to Thyatira, to Sardis, to Philadelphia, and to Laodicea.”
Revelation 1:10-11 NKJV)
And when I saw Him, I fell at His feet as dead. But He laid His right hand on me, saying to me, “Do not be afraid; I am the First and the Last. I am He who lives, and was dead, and behold, I am alive forevermore.
(Revelation 1:17-18 NKJV)
“And to the angel of the church in Smyrna write, ‘These things says the First and the Last, who was dead, and came to life:
(Revelation 2:8 NKJV)
“And behold, I am coming quickly, and My reward is with Me, to give to every one according to his work. I am the Alpha and the Omega, the Beginning and the End, the First and the Last.”
(Revelation 22:12-13 NKJV)