You're assuming that death means ceasing to exist or losing divinity. Christianity doesn't teach that. Death is the separation of body and soul, not annihilation. Jesus' human body truly died, while His human soul remained alive, and His divine nature never ceased to exist. The resurrection is the reunion of His glorified body with His living human soul. There is no contradiction.