You can do it through either the Home Share feature (iTunes 9+ on both machines) or by authorizing the other machine to play files purchased with iTunes account (though the desired song could only be played by being logged into its originating, "purchased" account).
Easier just to use Home Share...