Chosen Solution

I just replaced my pixel 2 xl screen and I forgot the covers for the ribbon cables

Technically no. Though, you should reseat them to prevent cables from coming loose (I.e, when you drop it). I would highly recommend them.