You can install the drive in any bay as long as it has a SATA port that you can connect to. Optical drive bay should be fine in modern laptops. (older ODDs used to have IDE connectors, but I have yet to see one in modern laptop)
Drive letters are a matter of configuration, physical connections don't affect them.
You should, however, check which version of SATA is supported by the second connector. Sometimes dedicated HDD SATA ports are SATA III, while ODD ports are slower SATA II (because optical disks are slow and such connection can't be saturated anyway, so slower SATA is just fine for ODD).
All SATA versions are compatible with each other and your SSD will still be blazing fast compared to HDD if you connect it to SATA II port, but it would be preferable to use SATA III for its extra bandwidth. If both of your ports are SATA III, then it doesn't matter which drive is where.
Here's a related question: How can I determine the SATA controller version on Windows?