04.5-05 has a G-Solenoid and different harness.
01-03 allisons dont have the G-solenoid in the valve body
04+ allisons have the G-solenoid. There is an exception...All LLY's have the G-solenoid, SOME 2004 LB7's had the G-solenoid (but it didnt do anything). Probably just an overlap in production; Allison started making the LLY valvebodies with the G-solenoid a bit early and decided to throw some extras into the last of the LB7's.
You can use an LLY valvebody (with the G-solenoid) in any 01-04 LB7 allison without problems. You can use an 01-04 LB7 valvebody in an LLY, but you might get a check engine light/set a code unless you reflash the TCM with an 01-03 Operating system (that does not ahve the G-solenoid enabled)