First, I think
you should be clearer on what "operations" means. It can mean procurement, manufacturing, shipping, finances, physical plant, etc. Basically the daily pulse of the company. I suspect you might mean "operations" as system administration or somethingmore along the veins of IT, as opposed to development.
Assuming it's the latter, I believe having some experience there is useful. At previous roles as a Dir of Eng / VP of Eng I oversaw not only development but IT operations. However, you need to be sure not to get sidetracked. There is not shortage of sys admins trying to become developers, and if you get off track, you may look less appealing as you move back to development roles.
I would consider such a role cautiously, and only if there is a clear time and transition back to development.
--Mark