Hi Bordaco,
G28 first moves to the specified position and then moves to the defined Reference position (normally X0Y0Z0). So yes either "G28" or "G28 Z0" will result in the final XYZ position to be at Reference.
To just move Z to machine 0 you should be able to use
G53 G0 Z0
Does that work for you?
Regards