In this study, wood-based cellulose-rich membranes were produced with a novel approach to casting procedure. Flat-sheet membranes were prepared from birch biomass pretreated with deep eutectic solvent and dissolved in ionic liquid–dimethylsulfoxide system via phase inversion method. Alkaline coagulation bath filled with sodium hydroxide solution was added to the process before a water coagulation bath and aimed to improve membranes’ performance. The effect of NaOH coagulation bath on the membrane was studied based on two NaOH concentrations and two different treatment times. The characterisation methods included measuring pure water permeabilities, polyethylene glycol 35 kDa model solution retentions, hydrophilicity, zeta potential, and chemical structure. Additionally, suitability of the membranes for removing residual phosphorous from a municipal wastewater treatment plant’s effluent was studied. The study revealed that introduction of the alkaline coagulation bath led to additional removal of lignin from membrane matrix and increase in the filtration capacity up to eight times. The resulting membranes can be characterised as very hydrophilic, with contact angle values 11.9–18.2°, negatively charged over a wide pH range. The membranes with the highest permeability, 380–450 L/m2·h·bar, showed approximately 70% phosphorus removal from purified wastewater, good removal of suspended solids, and low irreversible fouling tendency.