I actually started working on a version of monitor distance that took account for a part of your question. So if you i.e. replaced a 22" with a 30", the physical movement would be the same (that's why there's a monitor size for the output game as well). But ultimately I don't think this would make a lot of sense, as your muscle memory (in most cases) tunes more to what it can see than how physically big it is. As long as the aspect ratio is the same, you would have a feel for movement to the edge of the monitor, rather the physical distance there.
When it comes to resolution on the same size monitor, it has quite a big impact in Windows since 1 DPI = 1 pixel. So on a 4k monitor you have to move your mouse twice as far with the same DPI as on a full HD one.
But in games it has zero impact, as they only care about degrees and not resolution. I.e. X DPI = Y degrees of rotation.