There is no minimum distance!  Applications without an attic space, vaulted ceilings or open beam ceilings are quite common.  In very short spaces the tubing may need to be modified to fit the space.  This can be done easily by cutting the tubing to the desired length.  Note that is recommended to have a straight tube run when installing into small spaces.