Joshua,
The UV will be fine inline with the return depending on the flow rate of the pump and the UV. The UV manufacturer usually specifies how fast water can flow through their unit for salt water and fresh water and whether you are wanting to just kill algae in the water or you are using it for disinfection purposes. I run 2 of mine inline due to the match with speed and flow. On another tank where I have the pump pushing water too fast, I just 'T' off some of the flow from the pump output and pass it back to the refugium/sump. The downside is that not ALL the water now passes through the UV each time it passes through the sump. It was just too expensive to buy the bigger unit, esp if you are splitting the pump return into 2 lines going back to the tank. Check your specs and go with it....HTH
Doug