does bitcoin-core version has to be same ? on my both machines ?
It is advisable to have the same Bitcoin Core version because sometimes database formats will change between major versions (the UTXO database in the chainstate folder changed from 0.14.x to 0.15.x).