To elaborate on the point of the previous post...
I've done it the way described as well where you take the water from the sump and return it back to the sump, creating a sort of closed loop in the sump. This can either work great, it can be a disaster, or something in between, the last being the most common.
In this setup, the idea is that cool water returned to the sump from the chiller gets mixed with warm water coming from the tank, where it is returned back to the tank via the return pump. If the sump is on the large size for the tank, then the sump gets cooled faster than the main tank, causing the chiller to cycle more frequently and for shorter time periods. I have this exact setup on both of my tanks. One is a 180g with a 1/2hp chiller, which is on the big size for this tank. The other is a 120g with a 1/5hp, which is on the smaller side.
The 180g tank's chiller cycles on for several minutes every 10 minutes or so, and the frequent cycles are hard on the chiller and annoying as anything, but I haven't let it motivate me enough to do anything about it. The 120 setup on the other hand works perfectly.
In essence, this setup works fine as long as the flow rate through the chiller is a small percentage of the flow rate through the sump. When that is the case, warm water from the tank enters the sump so quickly that the chiller doesn't have time to "overcool" the sump before the water is returned.
This setup is not ideal. The reason I did it is because this allows me to use one large pump and simplifies the plumbing.
As stated by many here, ideally, the chiller should return directly to the main tank. You can either draw water through the sump or the main tank. Drawing from the sump is better because you don't have a pump hanging inside the tank as would be the case in most setups where you pull straight from the tank. However, by taking water from the sump and returning to the main tank, you need to be careful about overflow capacity. For example: You have a tank with overflows rated to 600GPH, and your return pump's flow rate is 550gph. If you draw from the sump to a chiller and return to the tank with a 300gph flow rate, you've overloaded your overflows by 250gph, which will run the sump dry or flood. Therefore, when doing this setup, you have to take your system's flow parameters into account and either design it to run that way or make adjustments to your return pump's flow rate.
Keep in mind that all chillers have a minimum flow rate that MUST be observed. Failure to observe the minimum flow rate through a chiller can cause it to freeze up or short cycle.