$^6$He nucleus in the three-body cluster model with continuum spectrum