The Publication Manual of the APA refers users to Bluebook Rule 12.
"In text, give the popular or official name of the act (if any) and the year of the act." (Publication Manual of the APA, 2010, p.219)
Energy Policy Act of 2005
Energy Policy Act (2005)
"In the reference list entry, inlude the source and section number of the statute, and in parentheses, give the publication date of the statutory compilation, which may be different from the year in the name of the act. (Publication Manual of the APA, 2010, p.219)
Energy Policy Act of 2005, Pub. L. No. 109-58, 119 Stat. 594 (2005).
Explanation: In the example above, Pub. L. No. 109-58 refers to Public Law number 58 from the 109th Congress, as it appears in volume 119, page 594 of the US Statutes at Large (119 Stat. 594).
Here's how it might look if you are citing instead to the where it can be found in the United States Code:
Energy Policy Act of 2005, 42 USCS § 15801 (2005).