For linear regressionthe General Linear Model to be a suitable model the data need to meet certain criteria:
- The mean response is a linear function of the predictors.
- Model residuals are conditionally independent.
- Model residuals are distributed with conditional mean zero.
- Model residuals have constant conditional variance.
- Model residuals are conditionally normal in distribution.
The response you describe fails to meet (at least) criterion 5, so the General Linear Model does not apply to this example.
As discussed in the comments, this does not prevent the calculation of RSS, which you have already noted is 0/0, an indeterminate form.