I've heard it claimed everyone is guilty of a crime, whether or not they realize it. As such my computer likely possesses all kind of evidence against me, even if it's mostly trivial things. Maybe I have messages with a friend where I admitted to speeding to get somewhere when I was late, or I watched something copyrighted online when I shouldn't have (or possibly didn't even realize I was circumventing copyright when I watched it), or my hypothetical child just hit puberty and waited until I went to bed to visit some of those sites a child in the throes of puberty is likely very interested in and is not legally allowed to visit.
The point is that likely there is some kind of evidence of crime on my, or anyone's, hard drive at some point in time, I may not even realize that the data was evidence or even that my actions were technically a crime. That means there is a non-trivial chance any time I choose to clean up my computer, delete unused data, clear my browser history, or otherwise remove what I consider to be unimportant data I may actually be destroying evidence. So when can I delete stuff from my computer without risking a crime? To give a few examples of increasingly questionable theoretical actions:
Assuming there was some sort of potential evidence I was unaware of is there ever a point I could have deleted it without it being criminal?
Do I have to be aware the data may be evidence first? If my hypothetical child clears the browser history to keep me from discovering the sort of sites the visited while I was asleep are they guilty since they knew they were destroying evidence, even though their intent was not to prevent criminal prosecution but instead to avoid revocation of internet access by me?
What if I know my friend visited a website that is illegal, say one for viewing copyrighted shows illegally, and I've chosen to not report him. Am I now never allowed to delete my browser history or clear its cache ever again since that would destroy something I know is evidence of my friend's crime? What if my computer has major software issues and the only viable solution is delete everything and reinstall from scratch; am I stuck with a worthless broken computer because reinstalling things from scratch would delete evidence of a crime?
I'm interested in the USA perspective. My home state is MD, but I would be willing to accept answers referencing any states' laws if answerer is more familiar with their own. I'm just trying to figure out where the USA generally draws the line between intentional destruction of evidence and every day digital activities.