If you are staying at a Disney owned resort you will be able to book reservations for the length of that reservation up to a max of 10 days. If you are staying for longer than 10 days you will have to wait to book the eleventh, twelfth, etc days.
If you have a split stay you will have to wait for the 180th day before the second resort reservation to book dining reservations for that stay.