According to Scott's fall or early spring for cool season grass like Michigan.
Then also read this.
The best time to dethatch depends on grass variety and location but is optimal when the lawn is actively growing and has time to recover. In the north, late summer or early fall before the grass goes dormant are good times to dethatch, and late spring in the south.