Yellow cards will stay in view until the end of the season in the league or if you get a second resulting in a red card.
The CL yellow cards I think reset after the groups or if you get a second....