Yes you can directly connect these pins to GND or V+. Using a resistor instead of a hard connection might be convenient when you need to change the address on a finished PCB: you can short the pin to the opposite supply rail without damaging anything.