It does matter. The shorter the distance, the weaker the siphon, the more it's going to suck air, the louder it will be, and more possibility for it to fail or not restart. Not to mention that as it fills with air the flow rate will lessen and your tank will overflow. You can use an Aqualifter to remove the air build up, but I still wouldn't suggest making it very much shorter than the bottom.