It can be made to fit if the gas ring, barrel-cylinder gap, and headspace are correct. However, you will have to replace the frame lug to provide correct cylinder-to-frame lug clearance.
The frame lug is the little "D" shaped projection at the lower rear corner of the cylinder opening in the frame. It keeps the cylinder from coming off the yoke when it is open. The frame lug on a non-recessed cylinder gun is fuller than one for a recessed cylinder gun. They start life as a large headed pin that is pressed into the frame and fit according to which style of cylinder the gun has.
Several years ago I had SW replace a cylinder on a 586 no dash. $192.00 But they completely reconditioned the gun and returned it with documentation of it's total compliance to their standards.