If company policy dictates that you stand for the flag during company time then you must stand because you are being paid. They knew this before being hired.
If one does not want to stand it is their right and it is the company's right to fire them.