The PCC rule has recently changed. If anytime you've stayed longer than 6 months in a country you have to get a PCC. If you passed through US immigration and entered US mainland and this stay was continuous for 6 months or more, then you get a PCC, else no.
Note that it is has to be a...