Does Static Ip address assigned to my NUC in one network changes when I change the network?

Solution 1:

You will need an IP that fits within your network range. Meaning that if your network is 192.168.1.x while you friend's is 192.168.0.x, then you have a problem, as it's possible that after setting an IP compatible with your network, you will lose contact with the device at your friend's (although the setting might stick).

If the networks have compatible ranges, then there is no problem. Use however an IP that is not used by the DHCP server, or is numerically high, so that you may reduce the DHCP server's range to never conflict with the device.