Work coordinates are different from Machine Coordinates and are defined under G54 (default) to G59.
Under G54, you move the cutter point to where you want the starting point to be and then set x , y and Z to zero.
Then only you start the G-code program.
You can always save the coordinates under G55-G59 so that you can recall different origins.