It depends on the context. In general, "to be sick" and "to be ill" can mean the exact same thing.
Examples:
1) He was very ill.
2) He was very sick.
These two sentences mean the same exact thing (the man was not feeling well or was suffering from some sort of illness). However, it can also be used differently in a sentence to imply that someone is either going to, is, or has already thrown up.
Examples:
1) He drank too much and then got sick all over my car.
2) I feel like I'm going to be sick (or "get sick").
3) The dog is getting sick on the carpet.
Using this expression this way is very common in the UK, but not used very often in the US (though it can be used). Typically in the US, the verbs "to throw up" or "to puke" are used.