Well I come from a gray history on that kind of path, should everyone learn how to speak english and write it? Coding is becoming more and more part of our days, it's impossible for a single person to not interact with something that has code in it. Does that means everyone should know how to code.... well yes and no; like @mgiambanco said learning the basics will help anyone to solve problems in an efficient way but apart from that I do think that some careers or jobs should learn to code in a more advanced way than just basics. Let me elaborate that:
I'm a Digital Artist and when I was a student I worked on video editing, VFX, game developing, motion graphics, animation, photography, etc etc. I decided to focus on code, specially on Front-End. I think that people that do animation, works with excel, do VFX, motion graphics, 3d, etc SHOULD or MUST learn beyond the basics of programming... why? Because they will make more natural animations, easy ones, and use expressions to make their life easier. I once helped a motion grapher to write a simple Javascript expression on After Effects, he wanted to make a light shine in a random way and to move randomly I helped him and in less than 5 minutes I solve a problem that he had been working for almost three to five hours that day.
So yeah, some jobs, careers or people specially the ones that work with technology should learn to code but a dentist, medic, driver, should not learn to code... and if you don't have a career or something strong to make of a living then YOU DEFINITELY SHOULD LEARN TO CODE it could save your life.