Dualband Router Question

Since dualband routers support both 5Ghz and 2.4Ghz, if I have a device that is very far away, can I connect it to the 2.4Ghz frequency, and allow closer devices to use the 5Ghz frequency and have those two devices capable of communicating on the LAN?