can a dishwasher be installed 17 feet from sink?
You can put the dishwasher wherever you want.
You will have to provide it with water and a drain that meets code - and it's not at all likely that you can run 17 feet to join the sink drain while meeting code. So you'll have to arrange plumbing to serve the water input and drain output needs of the dishwasher where you want to put it, independent of the sink.