IT depends on HOW much deeper it has to be. There is some latitude in the "proper depth" dimension so you have to do some homework to determine whether the trim will fit at the shallower dimension. IF not they you either have to move the pipes or the finished wall surface. From the picture, it appears that revising the water lines to accommodate the new valve would be quite easy. You should not even have to do anything to the two riser pipes.