PE website states that the mounting depth on the UM18-22 is 9". So, even if your O.D. on the box is 15", and you use 3/4" sheet stock (MDF, Ply, etc), and you double up the baffles, you're still at 12.75" of depth I.D. That gives you 3.75" of clearance from the back of the motor assembly to the inside of the rear panel. That's plenty. And if you go one step further towards Worst Case Scenario for mounting depths, and countersink the driver frame into the outer sheet of the baffle, you only lose another 3/8" to 3/4" of clearance, leaving you with a minimum of 3" clearance. You're good.
If you use the UM15-22 instead, you buy another ~1.5" of clearance, as its mounting depth is only 7.55".
Point of Interest: With a driver that moves as much air as these do, and with as much moving mass as these have, a single layer baffle and panels less than 3/4" thick are not advisable. The UM18-22 is throwing a pound and a half of cone around on the surface of that box... you'll want as much mass as you can get to dampen that.