A man accused of trying to kill his wife by setting their home on fire is to be released from custody, a High Court judge ruled today.