"Ill" and "sick" can be used interchangeably. It's just a matter of prefence, although "ill" can be a bit more formal than "sick".
P.S. Here's an interesting note: In some parts of the southeastern U.S., "ill" can be used to say that someone is disgruntled or in a bad mood. (Ex. She's been ill all day. = She's been in a bad mood all day.)