I'm deciding on getting a degree in physics along with computer science. The problem is I have a misdemeanor that was considered non violent, wasn't convicted, and got expunged. Is it realistic for me to still work in physics?
Of course, some computer science and physics jobs may require very high security clearances - and will include some pretty in-depth background checks that may turn up activity related to the incident you describe.
But most jobs do not involve that level of security. If that's all you have, stay out of trouble and keep going.