In Hartshorne's chapter on Weil divisors he fixes the following hypothesis:
$(*)$ Every scheme is Noetherian , integral, separated, and regular in codimension 1
I can understand why you would want the first three hypotheses, but the regularity in codimension 1 is a little mysterious to me. What is the motivation behind this hypothesis? Is there any geometric reason, or does this just make the algebra in this chapter easier? For reference, regular in codimension 1 means that any local ring of $X$ of dimension 1 is regular.
It depends on what you want to do. If you just want to define the Weil divisor class group and the Weil divisor class associated to an invertible module, then it suffices to work with locally Noetherian integral schemes. See Tag 0BE0 and the next section in the Stacks project.
If you want to do other things, you may want to impose more conditions.