EP's right, no set rule, nothing in stone but there are the 'norms'.
A longer fuel line gives you two things. More fuel onboard for longer runs and more lid time. Personnally, this really benefits the racers where longer runs between fuel ups is a plus and more lid time in case those turn marshalls aren't paying attention. A short pressure line can cause a rich condition and just the opposite, a short pressure line can cause it to be lean. If your current setup is giving you good running conditions, leave it alone. But if you decide to change the lengths of either line, be prepared to adjust the engine.