Wow, good question.
The headers are very well hidden in the engine bay so a visual check by a CHP officer would net you no ticket.
Now if they managed to look under the car to see if you had removed your main cat, you may end up with a ticket but I find this scenario highly doubtful.
Many members run headers and have passed smog in Cali, so no worries if you only plan on visiting Cali.