Which ever is more restrictive. In this case it is the FBC-Energy, R403.3.6.
Please make sure if this is a Residence that falls under the FBC-Residential that you are looking at Section M1305.1.3
Energy, R403.3.6. does not allow the air handler in the attic if using prescriptive method. In order to allow the installation of the air handler in the attic within 6 feet of the attic access there are 4 conditions to be met. Further, R403.3.6 does allow the installation of the air handler in the attic when complying under Section 405 (Performance) and the 4 conditions listed therein are all met.