What is "the resurrection of life" and "the resurrection of damnation" (John 5:28-29)?

What is “the resurrection of life” and “the resurrection of damnation” (John 5:28-29)?

“[A]ll that are in the grave shall hear his voice, and shall come forth; they that have done good unto the resurrection of life; and they that have done evil unto the resurrection of damnation.”—John 5:28-29 ...