Yes. In that you use it to process start-up actions.
So in your example you would open your file using:
sudo nano /etc/rc.local
Just above where it says exit; add the line:
/etc/init.d/ssh start
EDIT: Also ensure the open port directed at your server is listed in /etc/ssh/sshd_config