Keeping Distance between objects?

Hello:

How can i make two objects to keep the same distance in between them when i move one of those to another place?

thanks for any help!!!