The closer the better, your nitrous will be fine but the carb I feel is to far.
Last year I had my nitrous regulator on my dragster about 28" away, while testing it, I noticed it dropped to "0" when activated even with the return regulator. I mounted it withing 12" of it and its much ebtter now.