I believe that all major handicappling authorities (USGA in US, CONGU in GB & Ireland) say that disqualified score should be counted for handicap purposes. The idea is that although you may have done something illegal that is the number of strokes you played and is a reflection of you playing ability.
There are some reasons for DQ that are excluded
eg Agreement to waive the rules, using illegal
clubs