If your iPod is Windows-formatted, you can transfer music to your iPod between those two computers.
You cannot, however, update your iPod's firmware on a Mac if the iPod is Windows-formatted.
As a general, it's a good idea to manually manage your iPod when using it between multiple computers.
This article might provide some good info on this:
Using iPod with multiple computers
-Kylene